From: Rotem Liss Date: Sun, 16 Dec 2007 14:59:36 +0000 (+0000) Subject: Added link to the old title in Special:Movepage, change proposed by Agbad@hewiki. X-Git-Tag: 1.31.0-rc.0~50400 X-Git-Url: http://git.cyclocoop.org/%22.%24match%5B1%5D.%22?a=commitdiff_plain;h=4be8ebf4b9e1b3423528bf44208c550ea837e4f1;p=lhc%2Fweb%2Fwiklou.git Added link to the old title in Special:Movepage, change proposed by Agbad@hewiki. --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index ba28b9f187..c7eafae24c 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -98,6 +98,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * Special:Upload now lists permitted/prohibited file extensions. * Split ambiguous filetype-badtype message into two new messages, filetype-unwanted-type and filetype-banned-type. +* Added link to the old title in Special:Movepage === Bug fixes in 1.12 === diff --git a/includes/SpecialMovepage.php b/includes/SpecialMovepage.php index ae88a09b19..938cefad7b 100644 --- a/includes/SpecialMovepage.php +++ b/includes/SpecialMovepage.php @@ -78,6 +78,8 @@ class MovePageForm { $wgOut->showErrorPage( 'notargettitle', 'notargettext' ); return; } + $sk = $wgUser->getSkin(); + $oldTitleLink = $sk->makeLinkObj( $ot ); $oldTitle = $ot->getPrefixedText(); $encOldTitle = htmlspecialchars( $oldTitle ); @@ -151,7 +153,7 @@ class MovePageForm { - +
{$movearticle}{$oldTitle}{$oldTitleLink}